package com.a0soft.gphone.aTruffleHog.util;
/*
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation; either version 3, or (at your option) any
 * later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * Copyright(C) 2011 
 *   Sam Lu <ysl.sam.lu (at) gmail.com>
 *
 */

import java.util.List;

import android.hardware.Camera;
import android.os.Environment;

public class SDK11 {
	private static SDK11	m_inst;
	
	private SDK11() {}
	
	public static SDK11
	GetInstance()
	{
		if (m_inst == null)
			m_inst = new SDK11();
		return m_inst;
	}
	
    public List<Camera.Size>
    CameraParameters_GetSupportedVideoSizes(Camera.Parameters params)
    {
        return params.getSupportedVideoSizes();
    }
    
    public boolean 
    Environment_isExternalStorageEmulated()
    {
        return Environment.isExternalStorageEmulated();
    }
}